<template>
  <div style="width: 100%; padding:20px 12px 0px 12px">
    <query-command />
    <table-view />
    <AlertView v-if="showAlert" alert-name="NTFM" />
  </div>
</template>

<script setup>
import { ref, computed } from "vue";
import QueryCommand from "./QueryCommand.vue";
import TableView from "./TableView.vue";
import useFlowStore from "@/store/flow.js";
import AlertView from "@/components/Alert/index.vue";
const flowStore = useFlowStore();
const showAlert = computed(() => flowStore.isStoped);
</script>
